import request from '@/utils/http'

//表格数据 project
export function projectList(data:any) {
    return request({
        method: 'get',
        url: '/biosample/project/list',
        params: data
    })
}

// 新增
export function projectSave(data: any) {
    return request({
        method: 'post',
        url: '/biosample/project/save',
        data
    })
}

// 修改-数据显示
export function projectShow(id:number) {
    return request({
        method: 'get',
        url: `/biosample/project/info/${id}` 
    })
}
// 修改
export function projectUpdate(data:any) {
    return request({
        method: 'post',
        url: '/biosample/project/update',
        data
    })
}

// 删除：
export function projectDelete(data:any) {
    return request({
        method: 'post',
        url: '/biosample/project/delete',
        data
    })
}